<%-- 
    Document   : createExcelReport
    Created on : 11.05.2013, 5:10:58
    Author     : freest
--%>

<%
    if(request.getParameter("isOrder")!=null){
         response.getWriter().print(report.Report.orderReport());
    } 
    else{
        Integer warehouse = Integer.valueOf(request.getParameter("warehouse"));
        Integer limit = Integer.valueOf(request.getParameter("limit"));
        response.getWriter().print(report.Report.warehouseReport(warehouse.intValue(), limit.intValue()));
    }
   %>
